package com.unism.uniMeterage.meterage.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import com.unism.uniMeterage.global.util.MessageUtil;
@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping(value="/name",produces = "text/plain;charset=UTF-8")
    @ResponseBody
    public String getName(String name){
       return MessageUtil.getName(name);
    }
}
